package com.genesis.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.genesis.mall.dto.PageDto;
import com.genesis.mall.entity.MemberProductCollection;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: HShuai
 * @Date: 2022/08/03/20:41星期三
 * @Description:
 */


public interface IMemberProductCollectionService extends IService<MemberProductCollection> {
    void saveProduct(MemberProductCollection memberProductCollection);

    void clearById(HttpServletRequest request);

    void deleteById(Long productId, HttpServletRequest request);

    MemberProductCollection getDetail(Long productId, HttpServletRequest request);

    PageDto<MemberProductCollection> pageList(HttpServletRequest request,Integer pageNum, Integer pageSize);
}
